package com.anjufang.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 导入-用户数据
 * </p>
 *
 * @author wcy
 * @since 2021-11-04
 */
@TableName("source_user")
public class SourceUser extends Model<SourceUser> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
	@TableId(value="id", type= IdType.AUTO)
	private Long id;
    /**
     * 任务ID
     */
	@TableField("task_id")
	private Long taskId;
    /**
     * 姓名
     */
	@TableField("user_name")
	private String userName;
    /**
     * 证件类型：0-身份证
     */
	@TableField("id_type")
	private Integer idType;
    /**
     * 证件号码
     */
	@TableField("id_number")
	private String idNumber;
    /**
     * 身份类型：0-普通用户，1-特殊职工
     */
	private Integer type;
    /**
     * 创建日期
     */
	@TableField("create_time")
	private Date createTime;
    /**
     * 更新日期
     */
	@TableField("update_time")
	private Date updateTime;
    /**
     * 是否删除：0-未删除，1-已删除
     */
	@TableField("is_deleted")
	private Integer isDeleted;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getTaskId() {
		return taskId;
	}

	public void setTaskId(Long taskId) {
		this.taskId = taskId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Integer getIdType() {
		return idType;
	}

	public void setIdType(Integer idType) {
		this.idType = idType;
	}

	public String getIdNumber() {
		return idNumber;
	}

	public void setIdNumber(String idNumber) {
		this.idNumber = idNumber;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getIsDeleted() {
		return isDeleted;
	}

	public void setIsDeleted(Integer isDeleted) {
		this.isDeleted = isDeleted;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
